#include <stdio.h>


int main() {
    const float pi = 3.14;
    float r,h,area,volume;
    scanf("%f %f",&r,&h);
    area = pi * r * r;
    volume = area*h;
    printf("area=%.2f,volume=%.2f",area,volume);
    return 0;
}
